package com.yz.lzq.liwushuo.interfaces;

import com.yz.lzq.liwushuo.bean.GiftBean;
import com.yz.lzq.liwushuo.bean.GiftTuiJianBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by AdminJia on 2016/11/24.
 */

public interface GiftInterface {
    //榜单tabLayout接口
    @GET("v2/ranks_v2/ranks")
    Call<GiftBean> getGiftData();

    //每日推荐接口
    interface GiftTuiJianInterface {
        //每日推荐接口
        @GET("v2/ranks_v3/ranks/1?limit=20")
        Call<GiftTuiJianBean> getTuiJianData(@Query("offset") int offset);

    }
}
